package com.Threecharacters.Poly_.Polyparameter.Case2;

public class normalEmployee extends Employee{
    //构造器指向父类Employee的带参构造器，保障程序能通过编译
    public normalEmployee(String name, double salary) {
        super(name, salary);
    }

    public void work() {
        System.out.println("I'm a normal guy");
    }

    //向上继承Employee的方法
    public double getSalary() {
        return super.getSalary();
    }



}
